package com.pushbox.dao;

import java.util.List;

import com.pushbox.model.GameScore;
import com.pushbox.vo.ScoreVo;
public interface GameScoreMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(GameScore record);

    int insertSelective(GameScore record);

    GameScore selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GameScore record);

    int updateByPrimaryKey(GameScore record);
    
    List<GameScore> selectListByUserAndGameID(GameScore gameScore);
    
    List<ScoreVo> selectMaxScoresByGameID(Integer gameId);
}